<?php
/**
 * 菜品分类视图
 * @author hushuai
 *
 */
class DishSortViewModel extends ViewModel{
	
	public $viewFields = array(
			
		 'Dishes'=>array(
		 		'*',
		 		'_type'=>"left",
		 		"_as"=>"d"
		 	),
			
		 'Dishsort'=>array(
		 		'title'=>'dtitle',
		 		'entitle'=>'dentitle',
		 		"_as"=>"s",
		 		'_on'=>'d.sortid=s.id'
		 	),
	 );
}
?>